home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14338 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: inforamp.net!ts53-10
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Coding Standards
  5. Date: Fri, 29 Mar 96 23:27:44 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4jhrm9$rdm@sam.inforamp.net>
  8. References: <4hj8ek$elu@sam.inforamp.net> <4hktar$5o2@galaxy.ucr.edu> <4io1a4$n9v@sam.inforamp.net> <4j8sdf$575@slbh00.bln.sel.alcatel.de> <3159B8F0.22C6@datalytics.com>
  9. NNTP-Posting-Host: ts53-10.tor.istar.ca
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <3159B8F0.22C6@datalytics.com>,
  13.    Rob Stewart <stew@datalytics.com> wrote:
  14. >I can locate 100+ classes in my work and that of my coworkers.  
  15. >I don't think any of them have 50 line copy ctors.  My questions 
  16. >are whether there are other functions (members or not) that 
  17. >would offload some of the behavior or whether the classes have 
  18. >too many dms.  Most copy ctors do about what a normal ctor 
  19. >does--they must initialize or assign to the same dms--with some 
  20. >additional logic in place to handle reference counting or 
  21. >resource duplication.
  22. >How is your copy ctors come to be so long?
  23.  
  24. When I say 50 lines per copy constructor, I'm talking 25 from 
  25. the copy constructor and 25 more for the assignment operator. 
  26. If you followed the entire thread and read my calculations you'd
  27. see that is what I meant.  Had I meant 50 lines each, then the
  28. result of the calculation would have been 200 hours.  Sorry 
  29. for any confusion I created.
  30.  
  31. Agrivar
  32.  
  33.  
  34. Agrivar
  35.  
  36. aka     Randy Charles Morin
  37.     MiddleWorld SoftWare
  38.     Canada: 1-800-363-3780
  39.     Other:    905-279-2087
  40.